import javax.swing.*;

/**
 * Created by Connor Madden.
 * User: Connor Madden
 * Date: 6/10/11
 * Time: 11:31 AM
 */
public class GUIFloor extends Floor {
    private JLabel floorLabel;
    private JButton callBttn;

    public GUIFloor(int num, String name, JLabel floorLabel, JButton callBttn) {
        super(num, name);
        this.floorLabel = floorLabel;
        this.callBttn = callBttn;
    }

    public JLabel getFloorLabel() {
        return floorLabel;
    }

    public void setFloorLabel(JLabel floorLabel) {
        this.floorLabel = floorLabel;
    }

    public JButton getCallBttn() {
        return callBttn;
    }

    public void setCallBttn(JButton callBttn) {
        this.callBttn = callBttn;
    }

    public int getY() {
        return floorLabel.getY();
    }
}
